home *** CD-ROM | disk | FTP | other *** search
- Path: asterix.uni-muenster.de!tiemant
- From: Stefan Tiemann <tiemant@uni-muenster.de>
- Newsgroups: comp.sys.amiga.programmer
- Subject: DataTypes/DTST_Ram Problem
- Date: Mon, 25 Mar 1996 19:16:45 +0100
- Organization: Westfaelische Wilhelms-Universitaet Muenster, Germany
- Message-ID: <Pine.A32.3.91.960325190020.33946A-100000@asterix.uni-muenster.de>
- NNTP-Posting-Host: asterix.uni-muenster.de
- Mime-Version: 1.0
- Content-Type: TEXT/PLAIN; charset=US-ASCII
-
- Hi!
- I want to call NewDTObjectA() with a buffer in ram, so I tried
- "DTA_SourceType, DTST_Ram", but i does not work (IoErr gives 0, but width,
- height and depth of the picture is is always 0, too). I tried to give the
- address of the buffer as "name" and/or as DTA_Handle, but always got
- the same result.
- Everything works fine, when I save the buffer to a file and call
- NewDTObjectA() with the filename in "name" and let DTA_SourceType be the
- default (DTST_File), but as the picture is included in a bigger file, this
- does not make much sense... or is it possible to Seek() to the position of
- the picture and give NewDTObjectA() the FileHandle (my first tests with this
- failed, too).
- How do I have to give the address to NewDTObject?
-
- Bye
- Stefan Tiemann
-